package com.gxc.datacore.query.service;

import java.util.List;

import com.gxc.datacore.metadata.domain.Column;
import com.gxc.dbcore.util.BeanMap;

public interface DataTranslateService {

	/**
	 * 翻译多行多列数据
	 * 
	 * @param columnList
	 * @param dataList
	 * @return
	 */
	public List<BeanMap> translate(List<Column> columnList,
			List<BeanMap> dataList);

	/**
	 * 翻译多行单列数据
	 * 
	 * @param column
	 * @param dataList
	 * @return
	 */
	public List<BeanMap> translate(Column column, List<BeanMap> dataList);

	/**
	 * 翻译单行多列数据
	 * 
	 * @param columnList
	 * @param BeanMap
	 * @return
	 */
	public BeanMap translate(List<Column> columnList, BeanMap map);

	/**
	 * 翻译单行单列数据
	 * 
	 * @param column
	 * @param BeanMap
	 * @return
	 */
	public BeanMap translate(Column column, BeanMap map);

}
